import request from "../utils/request";

import type { ILoginParams } from "../types/api";

export default {
  login(params: ILoginParams) {
    return request.post("/users/login", params);
  },
};
